//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.tool.utils;

import android.util.SparseArray;
import android.view.View;

public class ViewHolder {
    public ViewHolder() {
    }

    public static View get(View view, int id) {
        DataUtil.dex();
        SparseArray<View> viewHolder = (SparseArray)view.getTag();
        if(viewHolder == null) {
            viewHolder = new SparseArray();
            view.setTag(viewHolder);
        }

        View childView = viewHolder.get(id);
        if(childView == null) {
            childView = view.findViewById(id);
            viewHolder.put(id, childView);
        }

        return childView;
    }
}
